package com.gage.service;

import java.util.List;

import com.baomidou.mybatisplus.service.IService;
import com.gage.commons.result.PageInfo;
import com.gage.commons.result.Tree;
import com.gage.model.SysBaseDict;
import com.gage.model.SysOrganization;


public interface ISysDictService extends IService<SysBaseDict>
{
	String SERVICE_NAME = "sysDictService";

	String selectDictsTree(String pid);
	
	List<SysBaseDict> selectDictsTreeGrid();
	List<SysBaseDict>  findDictByPid(String pid);
	PageInfo selectDataGrid(PageInfo pageInfo);
	
	SysBaseDict getDictByDictcode(String dictcode);
	SysBaseDict getDictById(String id);
	
	int getCountChild(String id);
	boolean removeDict(List<String> list);
	/**
	 * 移动数据字典
	 * @param id
	 * @param parentid
	 * @return
	 */
	int updateMoveDict(String id, String parentid);
}
